<?php defined('ByShopWWI') or exit('Access Invalid!');?>
<div class="wrap">
  <div class="tabmenu">
      <ul class="tab pngFix">
          <li class="<?php if($_GET['type']==1){echo('active');}else{echo('normal');}?>"><a href="index.php?act=member_information&amp;op=membertj&type=1">一级会员</a></li>
          <li class="<?php if($_GET['type']==2){echo('active');}else{echo('normal');}?>" ><a href="index.php?act=member_information&amp;op=membertj&type=2">二级会员</a></li>
      </ul>
  </div>
    <table class="ncm-default-table">
    <thead>
      <tr>
      
        <th class="w150 tl">会员名称</th>
        <th class="w150 tl">会员等级</th>
        <th class="w150 tl">订单数量</th>
        <th class="tl">邀请时间</th>
        <th class="tl">您获得的奖励</th>
       
      </tr>
    </thead>
    <tbody>
      <?php  if (count($output['list'])>0) { ?>
      <?php foreach($output['list'] as $v) { ?>
      <tr class="bd-line">
    
        <td class="tl"><?php echo $v['member_name'];?></td>
        <td class="tl"><?php echo $v['member_type'];?></td>
        <td class="tl"><?php echo $v['order_count'];?></td>
        <td class="tl"><?php echo @date('Y-m-d H:i:s',$v['member_time']);?></td>
        <td class="tl"><?php echo ncPriceFormat($v['brokerage']);?></td>
      </tr>
      <?php } ?>
      <?php } else {?>
      <tr>
        <td colspan="20" class="norecord"><div class="warning-option"><i>&nbsp;</i><span><?php echo $lang['no_record'];?></span></div></td>
      </tr>
      <?php } ?>
    </tbody>
    <tfoot>
      <?php  if (count($output['list'])>0) { ?>
      <tr>
        <td colspan="20"><div class="pagination"> <?php echo $output['show_page']; ?></div></td>
      </tr>
      <?php } ?>
    </tfoot>
  </table>  
    
   
</div>


